from django.urls import path
from apps.users.views import UserPhoneCount, RegisterView, LoginView, LogoutView, EmailView, InfoView,\
    AddressCreateView, AddressView, historyView,EditView

urlpatterns =[
    path('phone/<phone>',UserPhoneCount.as_view()),
    path('register',RegisterView.as_view()),
    path('login', LoginView.as_view()),
    path('logout',LogoutView.as_view()),
    path('put',EmailView.as_view()),
    path('info',InfoView.as_view()),
    path('addresses/create',AddressCreateView.as_view()),
    path('addresses/', AddressView.as_view()),
    path('browse_histories', historyView.as_view()),
    path('editmessage',EditView.as_view())
]